package com.bdqn.sj;


import org.springframework.stereotype.Component;

@Component("HelloSpring")
public class HelloSpring{

    //无参构造
    public HelloSpring() {
    }

    public HelloSpring(String zf) {
        this.zf = zf;
    }

    private String zf = null;


    public String getZf() {
        return zf;
    }

    public void setZf(String zf) {
        this.zf = zf;
    }


    public void print(){
        System.out.println(zf);
    }


}
